package com.zbt.comment.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

/**
 * @author bingtao.zhong.o
 * @date 2022/5/6 6:09 下午
 */
@Data
@TableName("comment")
public class Comment {

    @TableField("id")
    private Long id;

    @TableField("nick_name")
    private String nickName;

    @TableField("avatar")
    private String avatar;

    @TableField("content")
    private String content;

    @TableField("blog_id")
    private Long blogId;

    @TableField("parent_id")
    private Long parentId;

    @TableField("user_id")
    private Long userId;
}
